import java.util.Scanner;
public class eh {
    public static  void  main(String[] args){
        Scanner s = new Scanner(System.in);
        int x;
        String n ;
        int m;
        System.out.println("请输入用户名");
        n = s.next();
        System.out.println("请输入密码");
        x = s.nextInt();
        System.out.println("确认您的密码");
        m = s.nextInt();
        if(x==m){
            System.out.println("注册成功");

            }else{
            System.out.println("密码不一致，请重新输入");;
            }
        }

    }

